import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import router from './router';
import store from './store';
import Cookies from 'js-cookie';  // 全局引入 js-cookie

Vue.config.productionTip = false;
Vue.use(ElementUI);
Vue.prototype.$cookie = Cookies;  // 在页面中直接 this.$cookie 调用

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
